libxl: Look for bootloader in libexec path
authorGeorge Dunlap <george.dunlap@eu.citrix.com>
Tue, 15 May 2012 15:28:10 +0000 (16:28 +0100)
committerGeorge Dunlap <george.dunlap@eu.citrix.com>
Tue, 15 May 2012 15:28:10 +0000 (16:28 +0100)
commit965932f9fe938c408bcc3330a7db29fbab3964a8
tree50ec9f87567f2556738a85cf2af955e79bfe9bcb
parentbe6806f5677f42ed68e5c278823658c543c48ca6
libxl: Look for bootloader in libexec path

If the full path for a bootloader (such as pygrub or xenpvnetboot) is not
given, check for it first in the libexec path before falling back to the
PATH variable.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl_bootloader.c